﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMSpublic;

namespace Device.Domain
{
    /// <summary>
    /// 单位表
    /// </summary>
    public class UnitModel : Audit
    {
        /// <summary>
        /// 单位id
        /// </summary>
        [Key]
        public int UnitId { get; set; }
        /// <summary>
        /// 单位编号
        /// </summary>
        public string? UnitCode { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Uremark { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
    }
    /// <summary>
    /// 单位分页
    /// </summary>
    public class Unitpage<T>
    {
        /// <summary>
        /// 总条数
        /// </summary>
        public int listcount { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pagecount { get; set; }
        public List<T> list { get; set; }
    }
}
